﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="faleconosco.aspx.cs" Inherits="_FaleConosco" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
     input[type=text], textarea
     {
         padding: 5px;
         font: 20px tahoma, arial;
     }
     
    .mail
    {
        font: 20px tahoma, arial;
    }

    .style1
    {
        font: 20px tahoma, arial;
        width: 149px;
    }

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">muda(fale, '#0C5C7E');</script>
<h1>Fale Conosco</h1>
<p>
<table style="width:440px; margin-left:10px;" cellpadding="4" cellspacing="4" align="center">
<tr><td class="style1">Nome:</td><td><asp:TextBox ID="txtNome" runat="server" 
        Width="300px"></asp:TextBox></td></tr>
<tr><td class="style1">Email:</td><td><asp:TextBox ID="txtEmail" runat="server" 
        Width="300px"></asp:TextBox></td></tr>    
<tr><td class="style1">Assunto:</td><td><asp:TextBox ID="txtAssunto" runat="server" 
        Width="300px"></asp:TextBox></td></tr>
<tr><td class="style1" style="vertical-align:top; padding-top:6px;">Mensagem:</td><td>
    <asp:TextBox ID="txtMensagem" runat="server" 
        Rows="3" TextMode="MultiLine" Width="300px"></asp:TextBox></td></tr>
        <tr><td colspan="2"></td></tr>
<tr><td colspan="2" align="right">
    <asp:Label ID="lblMensagem" runat="server" EnableViewState="False"></asp:Label>
    <asp:RequiredFieldValidator ID="RV1" runat="server" ControlToValidate="txtNome" 
        Display="None" ErrorMessage="Informe o nome"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RV2" runat="server" 
        ControlToValidate="txtEmail" Display="None" ErrorMessage="Informe o email"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RV3" runat="server" 
        ControlToValidate="txtAssunto" Display="None" ErrorMessage="Informe o assunto"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RV4" runat="server" 
        ControlToValidate="txtMensagem" Display="None" 
        ErrorMessage="Informe a mensagem"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REV1" runat="server" 
        ControlToValidate="txtEmail" Display="None" ErrorMessage="Email inválido" 
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    <asp:ValidationSummary ID="VS1" runat="server" ShowMessageBox="True" 
        ShowSummary="False" />
    <asp:ImageButton ID="btnEnviar" runat="server" 
        ImageUrl="../figuras/bEnviar.gif" 
        onclick="btnEnviar_Click" /></td></tr>
</table>
</p>
</asp:Content>

